<tagLib name="html" />
<include file="Index:header" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/jeui_themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/jeui_themes/icon.css">
<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/easyui/jquery.easyui.min.js"></script>
<load href ="__PUBLIC__/Js/easyui-lang-zh_CN.js" />
<script language="JavaScript">
<!--
jQuery(document).ready(function(){
    $('#totalprice').click(
    function (){
        var house_id = $('#house_id').val();
        var start_time = $("input[name='start_time']").val();
        var end_time = $("input[name='end_time']").val();
        var amount = $('#room_num').val();
        jQuery.post(URL+'/calPrice',
        {house_id:house_id,
         amount:amount,
         start_time:start_time,
         end_time:end_time
        },
        function(msg){
            $('#totalprice').attr('value',msg);
        },
        'text')
    }
    );
});
//-->
</script>
<style type="text/css">
.menu{width:998px;  background:#fff; opacity:0.8; filter:alpha(opacity=80); height:40px; _filter:alpha(opacity:75); border:1px solid #E79C0B; border-top:none; overflow:hidden; line-height:40px; clear:both; position:static; padding:0;}
</style>
<div class="container">
        <div class="title_link">
            <a href="#">首页</a>&gt;<a href="#">预订</a>
        </div>
        <div class="inside_box">
            <div class="radius1"></div>
            <div class="radius2"></div>
            <div class="radius3"></div>
            <div class="radius4"></div>
            <div class="inside_content png">
                <form method='post' id="form1" action="__URL__/orderCreate/" >
                <div class="login_box" style="width:800px;height:400px;">

                    <table cellpadding=3 cellspacing=3 class="text_left">
<tr>
  <td class="tRight" >预订人：</td>
  <td class="tLeft" >
            {$_SESSION.MemberName}
        </td>
</tr>
<tr>
  <td class="tRight" >预订房型：</td>
  <td class="tLeft" >
            <input type="hidden" id="house_id" name="house_id" value="{$_GET.id}"><a href="__URL__/index/id/{$_GET.id}" target="_blank">{$_GET.id|getModelName=House}</a>
        </td>
</tr>
<tr>
  <td class="tRight" ><font color="red">*</font>预订房间数：</td>
  <td class="tLeft" >
            <input type="text" style="ime-mode:disabled;" id="room_num" name="room_num" value=""> 间（请填写数量）
        </td>
</tr>
<tr>
  <td class="tRight" ><font color="red">*</font>入住：</td>
  <td class="tLeft" ><input type="text" class="easyui-datetimebox" name="start_time"  value="" style="width:153px;">
  </td>
</tr>
<tr>
  <td class="tRight" ><font color="red">*</font>离开：</td>
  <td class="tLeft" ><input type="text" class="medium bLeft easyui-datetimebox" name="end_time" id="end_time" value="" style="width:153px;">(点击日历图标获取时间)
  </td>
</tr>
            
<tr>
  <td class="tRight" ><font color="red">*</font>入住人数：</td>
  <td class="tLeft" >
            <input type="text" style="ime-mode:disabled;" class="medium bLeft" name="person_num" value="">人</td>
</tr>
<tr>
  <td class="tRight" >入住人姓名：</td>
  <td class="tLeft" ><input type="text" class="medium bLeft" name="cust_name" value="{$_SESSION.MemberName}"></td>
</tr>
<tr>
  <td class="tRight" >入住人电话：</td>
  <td class="tLeft" ><input type="text" class="medium bLeft" name="cust_phone" value=""></td>
</tr>
<tr>
  <td class="tRight" >定金：</td>
  <td class="tLeft" >确认后再付定金，一般为500元或2000元，视时间长短而定</td>
</tr>
<tr>
  <td class="tRight" >留言：</td>
        <td class="tLeft" ><textarea cols="57" rows="7" name="comment" ></textarea></td>
</tr>
<tr>
  <td></td>
  <td class="center">
  <input type="submit" value="订房"  class="red_btn" id="book_it_button">
  </td>
</tr>
</table>
                </div>
            </form>
            </div>
            <div class="radius4"></div>
            <div class="radius3"></div>
            <div class="radius2"></div>
            <div class="radius1"></div>
        </div>
    </div>




<include file="Index:footer" />